package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.working_schedule;
import com.example.practical_training_projects.mapper.work_scheduleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class work_scheduleServicelmpl implements work_scheduleService {
    @Autowired
    private work_scheduleMapper mapper;

    @Override
    public Integer insertworktime(working_schedule work) {
        return mapper.insertworktime(work);
    }

    @Override
    public List<working_schedule> selectpcwork(Integer pc_uid) {
        return mapper.selectpcwork(pc_uid);
    }

    @Override
    public Integer deletepcworkbyid(Integer ws_id) {
        return mapper.deletepcworkbyid(ws_id);
    }
}
